from kernel import RobotAPI
import gradio as gr

api = RobotAPI()

def greet(name):
    return "Hello, {0}!".format(name)

demo = gr.Interface(fn=greet, inputs="text", outputs="text")
app, local_url, share_url = demo.launch()